<template>
    <div>
        <swiper class="detail-swiper">
        <swiper-item v-for="(item,index) in topImages" :key="index">
             <img :src="item.imageUrl" alt="item.name">
        </swiper-item>
    </swiper>
    </div>
</template>
<script>
    import {Swiper,SwiperItem} from 'components/common/swiper'
    export default {
        name: 'OrderSwiper',
        data() {
            return {
                
            }
        },
        components: {
            Swiper,
            SwiperItem
        },
        props: {
            topImages: {
                type: Array,
                default() {
                    return []
                }
            }
        },
        methods: {
            
        },
    }
</script>
<style scoped>
    .detail-swiper {
        height: 190px;
        overflow: hidden;
    }
</style>